﻿using System.Threading.Tasks;

namespace NetSync.Core
{
    /// <summary>
    /// IDataFilterService
    /// </summary>
    public interface IDataFilterService
    {
        /// <summary>
        /// 发送前处理
        /// </summary>
        Task PreSendAsync(DispatcherMessage message);

        /// <summary>
        /// 发送后处理
        /// </summary>
        Task AfterSendAsync(DispatcherMessage message);
    }
}
